package main

type Weather struct {
	Skycon           string
	Skycon8h         string
	Skycon32h        string
	MaxTemp          string
	MinTemp          string
	MaxWind          float64
	MinWind          float64
	Ultraviolet      string  //紫外线
	Pm25             float64 //pm25
	AQI              float64 //aqi
	Comfort          string
	Cloudrate        float64 //云量
	AvgPrecipitation string  //降水强度
	MaxPrecipitation string  //最大降水强度
	Date             string
}
type SendMsg struct {
	Username    string         `json:"username"`
	IconUrl     string         `json:"icon_url"`
	Attachments *[]Attachments `json:"attachments"`
}
type Attachments struct {
	Fallback   string    `json:"fallback"`
	AuthorName string    `json:"author_name"`
	Title      string    `json:"title"`
	Color      string    `json:"color"`
	Fields     *[]Fields `json:"fields"`
	Footer     string    `json:"footer"`
	FooterIcon string    `json:"footer_icon"`
}
type Fields struct {
	Title string      `json:"title"`
	Value interface{} `json:"value"`
	Short bool        `json:"short"`
}
